package com.blb.service.serviceImpl;

import org.springframework.stereotype.Service;
import javax.annotation.Resource;
import java.util.List;
import com.blb.dto.ZLevel;
import com.blb.dto.ZLevelExample;
import com.blb.dao.ZLevelMapper;
import com.blb.service.ZLevelService;
@Service
public class ZLevelServiceImpl implements ZLevelService{

    @Resource
    private ZLevelMapper zLevelMapper;

    @Override
    public long countByExample(ZLevelExample example) {
        return zLevelMapper.countByExample(example);
    }

    @Override
    public int deleteByExample(ZLevelExample example) {
        return zLevelMapper.deleteByExample(example);
    }

    @Override
    public int deleteByPrimaryKey(Integer lid) {
        return zLevelMapper.deleteByPrimaryKey(lid);
    }

    @Override
    public int insert(ZLevel record) {
        return zLevelMapper.insert(record);
    }

    @Override
    public int insertSelective(ZLevel record) {
        return zLevelMapper.insertSelective(record);
    }

    @Override
    public List<ZLevel> selectByExample(ZLevelExample example) {
        return zLevelMapper.selectByExample(example);
    }

    @Override
    public ZLevel selectByPrimaryKey(Integer lid) {
        return zLevelMapper.selectByPrimaryKey(lid);
    }

    @Override
    public int updateByExampleSelective(ZLevel record,ZLevelExample example) {
        return zLevelMapper.updateByExampleSelective(record,example);
    }

    @Override
    public int updateByExample(ZLevel record,ZLevelExample example) {
        return zLevelMapper.updateByExample(record,example);
    }

    @Override
    public int updateByPrimaryKeySelective(ZLevel record) {
        return zLevelMapper.updateByPrimaryKeySelective(record);
    }

    @Override
    public int updateByPrimaryKey(ZLevel record) {
        return zLevelMapper.updateByPrimaryKey(record);
    }

}
